package com.example.learnnacos.clients.svb;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

@FeignClient(name = "server-b")
public interface HelloClient {

    @GetMapping("/hello/say")
    Map<String, Object> callHello();

    @GetMapping("/hello/syncsay")
    Map<String, Object> callSyncSay();
}
